package com.xbzl.cly_demo.controller;

import com.xbzl.cly_demo.result.Result;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/vehicle")
public class VehicleController {

    //TODO  车辆轨迹查询
    @PostMapping("/history-track")
    public Result track(){
        return Result.error("hhh");
    }

    //TODO 查询车辆
    @GetMapping("/data/{vehicleId}")
    public Result queryVehicle(@PathVariable long vehicleId){
        return Result.success();
    }
    //TODO 查询车辆当前位置
    @GetMapping("location/{vehicleId}")
    public Result queryVehicleLocation(@PathVariable long vehicleId){
        return Result.success();
    }


}
